﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BestLifePOS_Core.Data.Commands;
using BestLifePOS_Core.DomainObjects;

namespace BestLifePOS_Core.Data.Facades
{
  public  class EmployeeADO
    {

      //public static string GetAllBanks(string PBankID)
      //{
      //    BestLifeGetAllBankDataAction LvGet = new BestLifeGetAllBankDataAction();
      //    return LvGet.execute();
      //}

      public static int SaveEmployee(Employee PEmp, User PUser) 
      {
          BestlifeInsertEmployeeDataAction LVEmp = new BestlifeInsertEmployeeDataAction(PEmp,PUser);
          return LVEmp.execute();
          
      }
    }
}
